<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <s:head theme="ajax"/>
    <title>My JSP 'examining.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="../css/content.css">
	<link rel="stylesheet" type="text/css" href="../css/student.css">
	<link rel="stylesheet" type="text/css" href="../css/topicsTable.css">
	<link rel="stylesheet" type="text/css" href="../css/teacher.css">
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/topics.js"></script>
	<script type="text/javascript" src="../js/student.js"></script>
	<script type="text/javascript" src="../js/teacher.js"></script>

  </head>
  
  <body>
    <%@ include file="/topicsTable.jsp"%>
    <%@ include file="/topics.jsp"%>
    <%@ include file="/student/student.jsp"%>
    
    <form name="examiningForm" target="upload-target" action="reply/uploadExamining.action"  id="replyRecorder" method="post" onsubmit="return check('examining','uploadFrame');" enctype="multipart/form-data">
    <s:hidden name="topicsID"></s:hidden>
    <div id="examining_contant" class="container" style="display: none;">
			<div class="c_head">
				<span class="c_head_1" id="c_head">提交考核成绩</span>
				<span class="c_head_2" style="margin-left: 405px;"> <a href="javascript:void(0)"> <IMG
							src="../img/close2.gif" onclick="closediv('examining_contant')"> </a> </span>
			</div>
			<div class="fileContainer_1" id="fileContainer" style="display: block;">
				<div id="recordsDiv" class="fileContainer_3">
					<input type="file" name="upload" id="examining"/>
				</div>
				<div class="fileContainer_3">
					<input type="submit" value="提交"/>
				</div>
			</div>
			<iframe id="uploadFrame" name="upload-target" height=50px" width="100%" style="display: none;" src="../blank.jsp"  frameborder="0" scrolling="no"></iframe>
		</div>
    </form>
    
    <form name="scoreForm" id="scoreForm" method="post">
    	<s:hidden name="scoreID"></s:hidden>
    	<s:hidden name="topicsID"></s:hidden>
    	<s:url id="send" action="reply/insertScore.action"></s:url>
    	<div id="score_contant" class="container" style="display: none;">
			<div class="c_head">
				<span class="c_head_1" id="c_head">成绩确认框</span>
				<span class="c_head_2" style="margin-left: 412px;"> <a href="javascript:void(0)"> <IMG
							src="../img/close2.gif" onclick="closediv('score_contant')"> </a> </span>
			</div>
			<div class="fileContainer_1" id="fileContainer">
				<div class="scoreContent" id="scoreContent" style="display: block;">
					<span>
						<s:a href="%{send}" targets="scoreResult" theme="ajax"
								formId="scoreForm" loadingText="录入中..." errorText="录入失败" onclick="closeScore()">确定</s:a>
					</span>
					<span>
						<a href="javascript:void(0)" onclick="closediv('score_contant')">取消</a>
					</span>
				</div>
			</div>
			<div id="scoreResult"></div>
		</div>
    </form>
    <div id="mask" style="display: none"></div>
  </body>
</html>
